// 首页
import Layout from '@/layout'

const dashboardRoute = {
    path: '/dashboard',
    name: 'Dashboard',
    component: Layout,
    redirect: '/dashboard/index',
    meta: { title: '首页', icon: 'admin-icon-shouye1' },
    hidden: true,
    hasPermission: true,
    children: [
        {
            path: '/dashboard/index',
            fullPath: '/dashboard/index',
            name: 'DashboardIndex',
            component: () => import(/* webpackChunkName: "dashboard" */ '@/views/dashboard/index.vue'),
            meta: { title: '首页', icon: 'admin-icon-shouye1', affix: true },
            hidden: true,
            hasPermission: true
        }
    ]
}

export default dashboardRoute
